package com.dajiangtai.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.dajiangtai.dao.IUserDao;
import com.dajiangtai.entity.User;
import com.dajiangtai.service.IUserService;

@Service("userService")
public class UserService implements IUserService {
	private static final String MEDAL_INIT = "00000000000000000000";//20个勋章，1代表点亮
	
	@Autowired
	private IUserDao userDao;

	@Override
	public User getUserByUid(int uid) {
		// TODO Auto-generated method stub
		return userDao.getUserByUid(uid);
	}

	@Override
	public List<User> getUsers(int limitStart, int limitEnd) {
		// TODO Auto-generated method stub
		return userDao.getUsers(limitStart, limitEnd);
	}
}

